package com.xnew.utils;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "msgHeader")
@XmlType(propOrder = { "tellerId", "respCode", "originSysId", "respSerialNo", "memo", "requestTime", "inSysId",
		"channelId", "orgNo", "terminalNo", "UUID", "respType", "version", "serviceName", "serialNo", "requestDate",
		"methodName", "respCodeDec" })
public class MsgHeader {

	// 版本号
	@XmlElement(name = "version")
	private String version;
	// 来源系统
	@XmlElement(name = "inSysId")
	private String inSysId;
	// 发起系统
	@XmlElement(name = "originSysId")
	private String originSysId;
	// 请求消息流水号
	@XmlElement(name = "serialNo")
	private String serialNo;
	// 唯一消息识别码
	@XmlElement(name = "UUID")
	private String UUID;
	// 请求日期
	@XmlElement(name = "requestDate")
	private String requestDate;
	// 请求时间
	@XmlElement(name = "requestTime")
	private String requestTime;
	// 渠道ID
	@XmlElement(name = "channelId")
	private String channelId;
	// 服务名称
	@XmlElement(name = "serviceName")
	private String serviceName;
	// 机构号
	@XmlElement(name = "orgNo")
	private String orgNo;
	// 终端号
	@XmlElement(name = "terminalNo")
	private String terminalNo;
	// 柜员号
	@XmlElement(name = "tellerId")
	private String tellerId;
	// 返回状态
	@XmlElement(name = "respType")
	private String respType;
	// 服务响应流水号
	@XmlElement(name = "respSerialNo")
	private String respSerialNo;
	// 返回代码
	@XmlElement(name = "respCode")
	private String respCode;
	// 返回代码说明
	@XmlElement(name = "respCodeDec")
	private String respCodeDec;
	// 备注
	@XmlElement(name = "memo")
	private String memo;
	// 方法名
	@XmlElement(name = "methodName")
	private String methodName;

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getInSysId() {
		return inSysId;
	}

	public void setInSysId(String inSysId) {
		this.inSysId = inSysId;
	}

	public String getOriginSysId() {
		return originSysId;
	}

	public void setOriginSysId(String originSysId) {
		this.originSysId = originSysId;
	}

	public String getSerialNo() {
		return serialNo;
	}

	public void setSerialNo(String serialNo) {
		this.serialNo = serialNo;
	}

	public String getUUID() {
		return UUID;
	}

	public void setUUID(String uUID) {
		UUID = uUID;
	}

	public String getRequestDate() {
		return requestDate;
	}

	public void setRequestDate(String requestDate) {
		this.requestDate = requestDate;
	}

	public String getRequestTime() {
		return requestTime;
	}

	public void setRequestTime(String requestTime) {
		this.requestTime = requestTime;
	}

	public String getChannelId() {
		return channelId;
	}

	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	public String getOrgNo() {
		return orgNo;
	}

	public void setOrgNo(String orgNo) {
		this.orgNo = orgNo;
	}

	public String getTerminalNo() {
		return terminalNo;
	}

	public void setTerminalNo(String terminalNo) {
		this.terminalNo = terminalNo;
	}

	public String getTellerId() {
		return tellerId;
	}

	public void setTellerId(String tellerId) {
		this.tellerId = tellerId;
	}

	public String getRespType() {
		return respType;
	}

	public void setRespType(String respType) {
		this.respType = respType;
	}

	public String getRespSerialNo() {
		return respSerialNo;
	}

	public void setRespSerialNo(String respSerialNo) {
		this.respSerialNo = respSerialNo;
	}

	public String getRespCode() {
		return respCode;
	}

	public void setRespCode(String respCode) {
		this.respCode = respCode;
	}

	public String getRespCodeDec() {
		return respCodeDec;
	}

	public void setRespCodeDec(String respCodeDec) {
		this.respCodeDec = respCodeDec;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}
}
